Visual Basic (Declaration) | |
---|---|
Overloads Function Pager( _ ByVal sortSelector As IdeaBlade.Core.ISortSelector, _ ByVal pageSize As Integer, _ Optional ByVal predicate As Expression(Of Func(Of T,Boolean)), _ Optional ByVal includeProperties As String _ ) As IPager(Of T) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IPagerRepository(Of T) Dim sortSelector As IdeaBlade.Core.ISortSelector Dim pageSize As Integer Dim predicate As Expression(Of Func(Of T,Boolean)) Dim includeProperties As String Dim value As IPager(Of T) value = instance.Pager(sortSelector, pageSize, predicate, includeProperties) |
C# | |
---|---|
IPager<T> Pager( IdeaBlade.Core.ISortSelector sortSelector, int pageSize, Expression<Func<T,bool>> predicate, string includeProperties ) |
C++/CLI | |
---|---|
IPager<T^>^ Pager( IdeaBlade.Core.ISortSelector^ sortSelector, int pageSize, Expression<Func<T^,bool>^>^ predicate, String^ includeProperties ) |
Parameters
- sortSelector
- Required sorting criteria.
- pageSize
- The desired page size.
- predicate
- Optional predicate to filter the paged entities.
- includeProperties
- Optional related entities to eager fetch together with the returned list of entities. Use comma to separate multiple properties.
Return Value
IPager<T> which allows the entities to be paged.Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family